<!--
 * @Author: your name
 * @Date: 2021-08-24 13:49:54
 * @LastEditTime: 2021-08-31 14:05:23
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \bigdate\src\page\index.vue
-->

<template>
    <div>
        <router-view v-slot="{ Component }">
            <transition name="fade-slide">
                <keep-alive>
                    <component :is="Component"></component>
                </keep-alive>
            </transition>
        </router-view>
    </div>
</template>
<script lange="ts">
import { defineComponent, onMounted } from 'vue'

export default defineComponent({
    name: 'LayPage',

    setup() {
    // 此组件页面 不能使用初始化
    },
})
</script>
<style lang="less" scoped>
@import "../styles/style.less";
</style>
